package seventeen.observer.homework;

public class Main {
    public static void main(String[] args) {
        Program program = new UserProgram();
        Observer observer1 = new MailObserver();
        Observer observer2 = new MsgObserver();
        program.addObserver(observer1);
        program.addObserver(observer2);
        program.execute();
    }
}
